package com.bj58.ecdata.mailreport.service.impl;

import java.util.List;

import com.bj58.ecdata.mailreport.model.IRDbConfig;
import com.bj58.ecdata.mailreport.service.AbstractBaseService;

public class DbConfigService extends AbstractBaseService<IRDbConfig>{

	public List<IRDbConfig> getAllDb () throws Exception{
		List<IRDbConfig> rsList = getListByConditon(null, "state=1", " cname desc");
		if( null != rsList  && !rsList.isEmpty())
			return rsList;
		
		return null;
	}
}
